
   fna = getenv("filename") 

   print("Copyright " + fna) 

   fla = addfile(fna,"w") 

;===================================================================
; create global attributes of the file
;===================================================================
   fAtt               = True            ; assign file attributes
   fAtt@Author        = "Kai Zhang (kai.zhang@pnnl.gov)" 
   fAtt@Source        = "GFED3.1 fire emission data and CAM5 input files"
   fAtt@creation_date = systemfunc ("date")        
   fileattdef( fla, fAtt )            ; copy file attributes    

